

import random

res = []
for i in range(10):
    res.append(random.randint(1,100))
print(res)

for j in range(0,len(res)):
    for k in range(0,len(res)-j-1):
        if res[k]>res[k+1]:
            res[k],res[k+1] = res[k+1],res[k]
print(res)